package com.zby.openApi.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zby.OpenApiCommon.model.entity.UserEntity;

import javax.servlet.http.HttpServletRequest;

public interface UserService extends IService<UserEntity> {
    long userRegister(String userAccount, String userPassword, String checkPassword);
    UserEntity userLogin(String userAccount, String userPassword, HttpServletRequest request);
    boolean userLogout(HttpServletRequest request);
    UserEntity getLoginUser(HttpServletRequest request);
    boolean isAdmin(HttpServletRequest request);
}

